package com.ww.sentinel.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName:
 * @author:
 * @Description:
 * @Date
 **/
@FeignClient(value = "nacos-provider", fallbackFactory = UserFallback.class)
public interface UserClient {
    @GetMapping("/user/findAllUser")
    String findAllUser();

    @GetMapping("/user/findUser")
    String findUserById();

    @GetMapping("/user/addUser")
    String add();
}
